package com.dyc.caradvertisting.ui.aty.home;


import com.dyc.caradvertisting.R;
import com.njh.tools.base.BaseActivity;
/**
 * Created by niejiahuan on 2016/5/31.
 */
public class HomeActivity extends BaseActivity<HomePresenter,HomeModel> implements HomeContract.View{
    /**
     * 获取布局文件
     *
     * @return
     */
    @Override
    public int getLayoutId() {
        return R.layout.activity_main;
    }

    /**
     * 初始化视图操作
     */
    @Override
    public void initView() {

    }

    /**
     * 简单页面无需mvp就不用管此方法即可,完美兼容各种实际场景的变通
     */
    @Override
    public void initPresenter() {
        mPresenter.setVM(this,mModel,this);
    }
}
